const getters = {
  avatar: state => state.user.avatar,
  id: state => state.user.id,
  nickName: state => state.user.nickName,
  gender: state => state.user.gender,
  phoneNumber: state => state.user.phoneNumber,
  email: state => state.user.email,
  username: state => state.user.username,
  type: state => state.user.type
}
export default getters
